package cn.jetbrain.netbeans.pdfviewer;

import org.openide.loaders.DataNode;
import org.openide.nodes.Children;
import org.openide.util.Lookup;

public class PDFDataNode extends DataNode {

    private static final String IMAGE_ICON_BASE = "cn/jetbrain/netbeans/pdfviewer/PDFDataIcon.png";

    public PDFDataNode(PDFDataObject obj) {
        super(obj, Children.LEAF);
        setIconBaseWithExtension(IMAGE_ICON_BASE);
    }

    PDFDataNode(PDFDataObject obj, Lookup lookup) {
        super(obj, Children.LEAF, lookup);
        setIconBaseWithExtension(IMAGE_ICON_BASE);
    }
}
